\select@language {brazil}
\contentsline {section}{\numberline {1}Analisador L\'exico}{2}
\contentsline {section}{\numberline {2}Analisador Sint\'atico}{3}
\contentsline {section}{\numberline {3}Analisador Sem\^antico}{4}
\contentsline {subsection}{\numberline {3.1}Simbolos utilizados na an\'alise}{4}
\contentsline {subsubsection}{\numberline {3.1.1}Memoria.java (package: semantico)}{4}
\contentsline {subsubsection}{\numberline {3.1.2}Simbolo.java (package: symbols)}{5}
\contentsline {paragraph}{Vari\'avel}{5}
\contentsline {paragraph}{Vetor}{5}
\contentsline {paragraph}{Fun\c c\~ao com retorno tipado e com argumentos}{5}
\contentsline {paragraph}{Fun\c c\~ao com retorno tipado e sem argumentos}{5}
\contentsline {paragraph}{Fun\c c\~ao void com argumentos}{5}
\contentsline {paragraph}{Fun\c c\~ao void sem argumentos}{6}
\contentsline {subsubsection}{\numberline {3.1.3}Type.java (package: symbols)}{6}
\contentsline {subsection}{\numberline {3.2}Estruturas de dados utilizadas}{6}
\contentsline {subsubsection}{\numberline {3.2.1}Tabela de Simbolos}{6}
\contentsline {subsubsection}{\numberline {3.2.2}Pilha de Controle de \lstinline [basicstyle=\ttfamily ]!IF!}{6}
\contentsline {subsubsection}{\numberline {3.2.3}Pilha de Controle de \lstinline [basicstyle=\ttfamily ]!WHILE!}{6}
\contentsline {subsubsection}{\numberline {3.2.4}Pilha de Escopo Atual}{7}
\contentsline {subsubsection}{\numberline {3.2.5}Pilha de Identificadores Atuais}{7}
\contentsline {subsubsection}{\numberline {3.2.6}Pilha de Chamada de Fun\c c\~ao}{7}
\contentsline {subsubsection}{\numberline {3.2.7}Pilha de Operandos}{7}
\contentsline {subsubsection}{\numberline {3.2.8}Pilha de Operadores}{7}
\contentsline {subsubsection}{\numberline {3.2.9}Pilha de Declara\c c\~ao de Vari\'aveis}{7}
\contentsline {subsection}{\numberline {3.3}A\c c\~oes sem\^anticas implementadas}{8}
\contentsline {subsubsection}{\numberline {3.3.1}A\c c\~oes para a SubMaquina: Programa}{8}
\contentsline {paragraph}{In\IeC {\'\i }cio e Fim do programa (cases: 1, 2, 4 e 5)}{8}
\contentsline {subsubsection}{\numberline {3.3.2}A\c c\~oes para a Subm\'aquina: Comando}{8}
\contentsline {paragraph}{Atribui\c c\~ao de valor (cases: 200, \relax $\@@underline {\hbox {219}}\mathsurround \z@ $\relax )}{8}
\contentsline {paragraph}{IF (cases 201, 227-232, 234, 237) e ELSE (cases 238 e \relax $\@@underline {\hbox {241}}\mathsurround \z@ $\relax )}{8}
\contentsline {paragraph}{WHILE (cases 202, 243-248, 250 e 241)}{8}
\contentsline {paragraph}{INPUT (cases 203, 213 e \relax $\@@underline {\hbox {219}}\mathsurround \z@ $\relax ) e PRINT (cases 204 e \relax $\@@underline {\hbox {219}}\mathsurround \z@ $\relax )}{8}
\contentsline {paragraph}{Declara\c c\~ao de vari\'aveis (cases 205-208, 215 e 218)}{8}
\contentsline {subsubsection}{\numberline {3.3.3}A\c c\~oes para a Subm\'aquina: Express\~ao}{9}
\contentsline {paragraph}{Calcula Express\~ao (cases 400, 401, 402, 405-414, 419, 423 e 418)}{9}
\contentsline {subsubsection}{\numberline {3.3.4}A\c c\~oes para a Subm\'aquina: Fun\c c\~ao}{9}
\contentsline {paragraph}{Declara\c c\~ao de fun\c c\~ao (cases 600-626)}{9}
\contentsline {subsection}{\numberline {3.4}Gera\c c\~ao de c\'odigo}{9}
\contentsline {section}{\numberline {4}Linguagem de Montagem}{10}
